<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Happy dong
 * Created Time: 2019-08-30 10:20
 *
 * Version: 2.0
 */

namespace App\Modules\Employee\Validators;


class EmployeeControllerValidator
{
	public static function validator(){
		return [
			'getBarberRoyalty' => [
				'user_id' => [
					'title' => '理发师Id',
					'rule' => 'required|numeric',
					'message'=>[]
				],
				'store_id' => [
					'title' => '店铺Id',
					'rule' => 'required|numeric',
					'message'=>[]
				]
			],
			'getBarberServiceListApp' => [
				'store_id' => [
					'title' => '店铺Id',
					'rule' => 'required|numeric',
					'message'=>[]
				]
			],
			'setBarberRoyalty' => [
				'user_id' => [
					'title' => '理发师id',
					'rule' => 'required|numeric',
					'message' => []
				],
				'store_id' => [
					'title' => '店铺id',
					'rule' => 'required|numeric',
					'message' => []
				],
				'salary' => [
					'title' => '基本工资',
					'rule' => 'required',
					'message' => []
				],
				'royalty' => [
					'title' => '提成',
					'rule' => 'required',
					'message' => []
				],
			],
            'getBarberFansList' => [
                'store_id' => [
                    'title' => '店铺id',
                    'rule' => 'required|numeric',
                    'message' => []
                ],
            ],
            'getTodayBarberFansNum' => [
                'store_id' => [
                    'title' => '店铺id',
                    'rule' => 'required|numeric',
                    'message' => []
                ],
            ],
			'getUserInfoByRole' => [
				'role' => [
					'title' => '角色ID',
					'rule' => 'required|numeric',
					'message' => []
				],
				'store_id' => [
					'title' => '店铺id',
					'rule' => 'required|numeric',
					'message' => []
				],
			],
			'addBarber' => [
				'store_id' => [
					'title' => '店铺id',
					'rule' => 'required|numeric',
					'message' => []
				],
			],
			'setWorkDay' => [
				'store_id' => [
					'title' => '店铺id',
					'rule' => 'required|numeric',
					'message' => []
				],
				'date' => [
					'title' => '日程安排月份',
					'rule' => 'required',
					'message' => []
				],
				'days' => [
					'title' => '日程安排具体日期',
					'rule' => 'required',
					'message' => []
				],
			],
			'getScheduleByMonth' => [
				'store_id' => [
					'title' => '店铺id',
					'rule' => 'required|numeric',
					'message' => []
				],
				'date' => [
					'title' => '日程安排月份',
					'rule' => 'required',
					'message' => []
				],
			],
			'getStoreRestList' => [
				'store_id' => [
					'title' => '店铺id',
					'rule' => 'required|numeric',
					'message' => []
				],
				'date' => [
					'title' => '日程安排月份',
					'rule' => 'required',
					'message' => []
				],
			],
			'getStoreUserList' => [
				'store_id' => [
					'title' => '店铺id',
					'rule' => 'required|numeric',
					'message' => []
				],
			],
			'getBarberListComment' => [
				'store_id' => [
					'title' => '店铺id',
					'rule' => 'required|numeric',
					'message' => []
				],
				'barber_id' => [
					'title' => '店铺id',
					'rule' => 'required|numeric',
					'message' => []
				],
				'order_id' => [
					'title' => '订单ID',
					'rule' => 'nullable|numeric',
					'message' => []
				],
				'pageSize' => [
					'title' => '页面大小',
					'rule' => 'nullable|numeric',
					'message' => []
				],

			],
			'getModuleAndStoreState' => [
				'role_type' => [
					'title' => '角色id',
					'rule' => 'required|numeric',
					'message'=>[]
				],
				'store_id' => [
					'title' => '店铺Id',
					'rule' => 'required|numeric',
					'message'=>[]
				]
			]

		];
	}
}